Clears all switch statistics and port counters, including port packet statistics, bridging statistics, IP statistics, and log event counters.
This command has no arguments or variables.
N/A.
You should view the switch statistics and port counters before you clear them. Use the show ports command to view port statistics. Use the show log counters command to show event statistics.
The CLI also provides a number of options that you can specify with the clear counters command. If you specify an option, the switch only clears the statistics for that option. For example, if you want to clear, reset only the STP statistics and counters, use the clear counters stp command. For more detailed information about those commands, see the specific chapter in the Switch Engine v33.1.1 User Guide .
Viewing and maintaining statistics on a regular basis allows you to see how well your network is performing. If you keep simple daily records, you will see trends emerging and notice problems arising before they cause major network faults. By clearing the counters, you can see fresh statistics for the time period you are monitoring.
Note
For the ENTERASYS-POLICY-PROFILE-MIB, the clear counters command does not clear counter32.The following command clears all switch statistics and port counters:
clear counters
This command was first available in ExtremeXOS 10.1.
This command is available on all Universal switches supported in this document.